package cn.wolfcode.car.business.mapper;

import cn.wolfcode.car.business.domain.StockBill;
import cn.wolfcode.car.business.query.StockBillQuery;

import java.util.List;

public interface StockBillMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StockBill record);

    StockBill selectByPrimaryKey(Long id);

    List<StockBill> selectAll();

    int updateByPrimaryKey(StockBill record);

    List<StockBill> selectForList(StockBillQuery qo);

    void cancelBill(Long id, Integer status);

    List<StockBill> checkBill(Long id);
}